package com.googlecode.tapestry5validator.hibernate.adapters;

import java.lang.annotation.Annotation;

import org.hibernate.validator.CreditCardNumber;

public class CreditCardNumberAdapter extends NoValueAdapter {

	@Override
	public Class<? extends Annotation> getAnnotationClass() {
		return CreditCardNumber.class;
	}

	@Override
	public String getJSMethod() {
		return "hvCreditCardNumber";
	}

	@Override
	public String getValidatorType() {
		return "hv-creditCardNumber";
	}

}
